{extend name="default:layout:base" /}

{block name="main"}
<div class="layui-row">
    <div class="layui-col-md6">
        <div class="layui-card">
            <div class="layui-card-header"><i class="fa fa-fire icon"></i>欢迎回来，{$tenant.username}</div>
            <div class="layui-card-body layui-text">
                <table class="layui-table">
                    <colgroup>
                        <col width="150">
                        <col>
                    </colgroup>
                    <tbody>
                    <tr>
                        <td>部门</td>
                        <td>{$department}</td>
                    </tr>
                    <tr>
                        <td>最近登录时间</td>
                        <td>{:date('Y-m-d H:i:s', $tenant.last_time)}</td>
                    </tr>
                    <tr>
                        <td>登录IP</td>
                        <td>{$tenant.ip}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
{/block}